#include <iostream>
#include <string>

using namespace std;

class A
{
public:
    int x;
};

class B
{
public:
    int y;
};

class Z 
:public A, public B
{

};

int main(int argc, char const *argv[])
{
    Z z;
    z.x = 1;
    z.y = 2;
    return 0;
}
